'use strict';
const countSameElements = require('../section-2/practice-2');
const createUpdatedCollection1 = require('../section-3/practice-2');
module.exports = function createUpdatedCollection(collectionA, objectB) {
  //统计A集合，参照section-2-3
  return createUpdatedCollection1(countSameElements(collectionA),objectB);
}
